home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / SCRIB3.PAK / CHILDFRM.CPP next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  76 lines

  1. // ChildFrm.cpp : implementation of the CChildFrame class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #include "stdafx.h"
  14. #include "Scribble.h"
  15.  
  16. #include "ChildFrm.h"
  17.  
  18. #ifdef _DEBUG
  19. #define new DEBUG_NEW
  20. #undef THIS_FILE
  21. static char THIS_FILE[] = __FILE__;
  22. #endif
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CChildFrame
  26.  
  27. IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
  28.  
  29. BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
  30.     //{{AFX_MSG_MAP(CChildFrame)
  31.         // NOTE - the ClassWizard will add and remove mapping macros here.
  32.         //    DO NOT EDIT what you see in these blocks of generated code !
  33.     //}}AFX_MSG_MAP
  34. END_MESSAGE_MAP()
  35.  
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CChildFrame construction/destruction
  38.  
  39. CChildFrame::CChildFrame()
  40. {
  41.     // TODO: add member initialization code here
  42.     
  43. }
  44.  
  45. CChildFrame::~CChildFrame()
  46. {
  47. }
  48.  
  49. BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
  50. {
  51.     // TODO: Modify the Window class or styles here by modifying
  52.     //  the CREATESTRUCT cs
  53.  
  54.     return CMDIChildWnd::PreCreateWindow(cs);
  55. }
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58. // CChildFrame diagnostics
  59.  
  60. #ifdef _DEBUG
  61. void CChildFrame::AssertValid() const
  62. {
  63.     CMDIChildWnd::AssertValid();
  64. }
  65.  
  66. void CChildFrame::Dump(CDumpContext& dc) const
  67. {
  68.     CMDIChildWnd::Dump(dc);
  69. }
  70.  
  71. #endif //_DEBUG
  72.  
  73. /////////////////////////////////////////////////////////////////////////////
  74. // CChildFrame message handlers
  75.  
  76.